<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <!-- <meta charset="gb2312"> -->
        
        <meta name="author" content="">

        <meta name="Keywords" content="">
        <meta name="description" content="">
        
        <!-- 启用360浏览器的极速模式(webkit)-->
        <meta name="renderer" content="webkit">          
        <!-- 避免IE使用兼容模式 -->
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        
        <!-- mobile -->
        <meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no" />
        
        <link rel="shortcut icon" href="favicon.ico" type="images/x-icon" />
        <link rel="bookmark" href="favicon.ico" />
        
        <title>金塔珠宝</title>
        <!--[if lt IE 9 ]>
            <script src="js/hack/html5shiv.js"></script>
        <![endif]-->
<!--        <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>-->
        
        <!-- <script src="http://192.168.1.106:81/con/assets/js/f5.js"></script> -->
        

        <link rel="stylesheet" href="../Public/css/base.css">
        <link rel="stylesheet" href="../Public/css/common.css">
        <link rel="stylesheet" href="../Public/css/page.css">
        <link rel="stylesheet" href="../Public/css/font.css">
        <link rel="stylesheet" href="../Public/css/responsive.css">
        
        
    </head>
    <body>
        <!-- nav [[ -->
<include file="Common:header"/>
        <!-- nav ]] -->

        <!-- header [[ -->
 <!--        <header class="header">
            <div class="title">
                <div class="bg">
                    <span class="icon"></span>
                    <span class="txt">收货信息</span>
                </div>
            </div>
        </header> -->
        <!-- header ]] -->
        
        <!-- content [[ -->
        <div class="mod_form">
<!--            <h3 class="title">收货信息</h3>-->
            <form  action="{:U('User/dzupdate')}"  method="post" name='form1'>
                <dl class="form_wrap">
                    <dt>所在地区</dt>
                    <dd class="area" id="distpicker">
                        <select data-province="省份" name="sheng" id="sheng" style="border:1px solid #cccccc;">

                            </select><select data-city="城市" name="shi" id="shi" style="border:1px solid #cccccc;">

                            </select><select data-district="县区" name="qu" id="qu" style="border:1px solid #cccccc;">

                            </select>
                        
                    </dd>
                    <input type="hidden" name="id" value="{$data['id']}"  >
                    <dt>详细地址</dt>
                    <dd>
                        <input class="" id="" type="text" value="{$data.address}"  name="address">
                        
                    </dd>
                    <dt>姓名</dt>
                    <dd>
                        <input class="" id="" type="text" value="{$data.name}" name="xingming">
                       
                    </dd>
                    <dt>手机</dt>
                    <dd>
                        <input class="" id="" type="text" value="{$data.tel}"  name="tel">
                       
                    </dd>
                    <div style="width: 50%"><input style="width: 20%;margin-top: 10px" type="checkbox" name="status" value="1" <if condition="$data['status']  eq 1"> checked</if> >设为默认地址</div>
                   
                    <dd class=""><input class="mod_btn btn" type="submit" value="保存" onClick=" return check()"></dd>
                    
                </dl>
            </form>
        </div>
        <!-- content ]] -->
        
        <!-- footer [[ -->
  <include file="Common:footer"/>

        <script type="text/javascript" src="../Public/layer/layer.js"></script>
  <script type="text/javascript" src="../Public/script/distpicker.data.js"></script>
<script type="text/javascript" src="../Public/script/distpicker.js"></script>
<script>
    $("#distpicker").distpicker({
        autoSelect:false
    });
</script>
<script>
function check(){
if (document.form1.sheng.value=='') {
    layer.msg('请选择所在地区',{time:1000});
    return false;
   }






}


</script>
    </body>
</html>